package com.wuf.mybatis.reflection.wrapper;

import com.wuf.mybatis.reflection.MetaObject;

/**
 * @className: com.wuf.mybatis.reflection.wrapper.DefaultObjectWrapperFactory
 * @description: TODO
 * @author: wuf
 * @create: 2024-05-08 20:42
 */
public class DefaultObjectWrapperFactory implements ObjectWrapperFactory{

    @Override
    public boolean hasWrapperFor(Object object) {
        return false;
    }

    @Override
    public ObjectWrapper getWrapperFor(MetaObject metaObject, Object object) {
        throw new RuntimeException("The DefaultObjectWrapperFactory should never be called to provide an ObjectWrapper.");
    }

}
